package com.linkhub.oms.common.enums.mp;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.linkhub.oms.common.enums.IEnumConvert;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author Redball
 * @version 1.0.0
 * @Description TrackBusinessStatusEnum
 * @createTime 2024-10-24 23:39:33
 */
@Getter
@AllArgsConstructor
public enum TrackBusinessStatusEnum implements IEnumConvert<Integer> {
    // 运单追踪状态：101-未查到;102-待取件;103-运输中;104-到达待取;105-派件中;106-投递失败;107-已签收;108-可能异常;109-运输过久;
    NotFound(101,"未查到"),
    InfoReceived(102,"待取件"),
    InTransit(103,"运输中"),
    AvailableForPickup(104,"到达待取"),
    OutForDelivery(105,"派件中"),
    DeliveryFailure(106,"投递失败"),
    Delivered(107,"已签收"),
    Exception(108,"可能异常"),
    Expired(109,"运输过久"),

    ;
    @EnumValue
    private final Integer code;
    private final String desc;

}
